*{
    box-sizing: border-box;
}

#board1{
    border:solid 1px black;
    border-collapse: collapse;
    width:810px;
    /*margin-top:50px;*/
}
#board1 td{
    border:solid 1px black;
}
td{
    width:45px;
    height:45px;
    text-align: center;
    vertical-align: center;
}
#outline{
    border: solid 4px black;
    padding: 10px;
    display: inline-block;
    margin-top:50px;
    background-image: url(bb.jpg);
    
}
body{
    text-align: center;
    margin: 0;
}
#board2{
    /*border: 1px solid blue;*/
    border-collapse: collapse;
    position: absolute;
    top:0;
    left:50%;
    transform: translateX(-50%);
    width:855px;
    margin-top: 40px;
    /*保证td不被撑变形*/
    table-layout: fixed;
    

}
#board2 td{
     /*border: 1px solid blue;*/
}


[chess=black]:before{
    display: inline-block;
    width:33px;
    height: 33px;
    background-color: black;
    content: "";
    border-radius: 50%;
    
}

[chess=white]:before{
    display: inline-block;
    width:33px;
    height: 33px;
    background-color: white;
    content: "";
    border-radius: 50%;
    border:1px solid black;
}




#control{
    position: absolute;
    width:100%;
    padding: 10px 550px;
}

.left{
    float:left;
}

.right{
    float:right;
}
button{
    border:none;
    background-color: paleturquoise;
    border-radius: 5px;
    height:30px;
    color:burlywood;
    cursor: pointer;
}


